package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Client {
    private Long id;

    private String name;

    private Long age;

    private String gender;

    private String tel;

    private String qq;

    private String email;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date formBuildDate;

    private String weChat;

    private String school;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date inputTime;

    private String address;

    private Long eduBackground_id;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date nextTraceTime;

    private String major;

    private Long source_id;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date appointTime;

    private Long introducerStu_id;

    private String introducer;

    private Long clientType_id;

    private Long intentionDegree_id;

    private Long state_id;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date enrollUniversityDate;

    private Long clz_id;

    private Long bigCustomer_id;

    private Long campus_id;

    private Long intentionSubject_id;

    private String hasPaid;

    private String focusProblem;

    private String textarea;

}